package com.insurance.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;
import java.io.Serializable;
import java.util.Arrays;
import java.util.Date;

/**
 * (OwnerCard)实体类
 *
 * @author makejava
 * @since 2020-10-26 20:45:48
 */
@ApiModel(value = "车主卡")
public class OwnerCard implements Serializable {
    private static final long serialVersionUID = 898624272453669492L;
    /**
     * 车主卡id
     */
    @ApiModelProperty(name = "ownerCardId",notes = "车主卡id",dataType = "int",required = false)
    private Integer ownerCardId;
    /**
     * 车主卡状态
     */
    @ApiModelProperty(name = "ownerCardStatus",notes = "车主卡状态",dataType = "int",required = false)
    private Integer ownerCardStatus;
    /**
     * 用户id
     */
    @ApiModelProperty(name = "ownerCardStatus",notes = "用户ID",dataType = "int",required = false)
    private Integer userId;
    /**
     * 报案电话
     */
    @ApiModelProperty(name = "ownerCardReportPhone",notes = "报案电话",dataType = "String",required = false)
    private String ownerCardReportPhone;
    /**
     * 交强险到期日期
     */
    @ApiModelProperty(name = "compulsoryInsuranceDate",notes = "交强险到期日期",dataType = "Date",required = false)
    private Date compulsoryInsuranceDate;
    /**
     * 车辆初登陆日期
     */
    @ApiModelProperty(name = "ownerFirstDate",notes = "车辆初登陆日期",dataType = "String",required = true)
    private String ownerFirstDate;
    /**
     * 商业险到期
     */
    @ApiModelProperty(name = "ownerInsuranceDate",notes = "商业险到期",dataType = "Date",required = false)
    private Date ownerInsuranceDate;
    /**
     * 车辆id
     */
    @ApiModelProperty(name = "carId",notes = "车辆id",dataType = "int",required = false)
    private Integer carId;
    /**
     * 车辆id
     */
    @ApiModelProperty(name = "car_id",notes = "车辆id",dataType = "int",required = false)
    private Integer car_id;

    /**
     * 行驶证id
     */
    @ApiModelProperty(name = "vehicleLicenseId",notes = "行驶证id",dataType = "int",required = false)
    private int vehicleLicenseId;

    /**
     * 行驶证id
     */
    @ApiModelProperty(name = "vehicle_license_id",notes = "行驶证id",dataType = "int",required = false)
    private int vehicle_license_id;
    /**
     * 是否通过
     */
    @ApiModelProperty(name = "ownerCardThrough",notes = "是否通过",dataType = "int",required = false)
    private Integer ownerCardThrough;
    /**
     * 是否删除：1、是2、否
     */
    @ApiModelProperty(name = "ownerCardDelete",notes = "是否删除：1、是2、否",dataType = "int",required = false)
    private Integer ownerCardDelete;
    /**
     * 用户姓名
     */
    @ApiModelProperty(name = "userName",notes = "用户姓名",dataType = "String",required = false)
    private String userName;
    /**
     * 用户手机号
     */
    @ApiModelProperty(name = "userPhone",notes = "用户手机号",dataType = "String",required = false)
    private String userPhone;
    /**
     * 用户身份证
     */
    @ApiModelProperty(name = "userIdnum",notes = "用户身份证",dataType = "String",required = false)
    private  String userIdnum;
    /**
     * 车牌号
     */
    @ApiModelProperty(name = "carLicenseNum",notes = "车牌号",dataType = "String",required = false)
    private String carLicenseNum;
    /**
     * 具体型号id
     */
    @ApiModelProperty(name = "carSpecificModelsId",notes = "具体型号id",dataType = "int",required = false)
    private int carSpecificModelsId;
    /**
     * 具体型号
     */
    @ApiModelProperty(name = "carSpecificModelsDesc",notes = "具体型号id",dataType = "int",required = false)
    private String carSpecificModelsDesc;
    /**
     * 车辆发动机号
     */
    @ApiModelProperty(name = "carEngineNo",notes = "车辆发动机号",dataType = "String",required = false)
    private String carEngineNo;
    /**
     * 行驶证车主姓名
     */
    @ApiModelProperty(name = "vehicleName",notes = "行驶证车主姓名",dataType = "String",required = false)
    private String vehicleName;
    /**
     * 行驶证照片
     */
    @ApiModelProperty(name = "vehicleLicenseAddress",notes = "行驶证照片",dataType = "String",required = false)
    private String vehicleLicenseAddress;
    /**
     * 车辆识别码
     */
    @ApiModelProperty(name = "carIdentificationCode",notes = "车辆识别码",dataType = "String",required = false)
    private String carIdentificationCode;
    /**
     * 车辆初登日期转换Date
     */
    @ApiModelProperty(name = "ownerFirstDate2",notes = "车辆初登日期转换Date",dataType = "Date",required = false)
    private Date ownerFirstDate2;
    /**
     * 文件上传
     */
    @ApiModelProperty(name = "file",notes = "文件上传",dataType = "MultipartFile",required = false)
    private MultipartFile[] file;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getOwnerCardStatus() {
        return ownerCardStatus;
    }

    public void setOwnerCardStatus(Integer ownerCardStatus) {
        this.ownerCardStatus = ownerCardStatus;
    }

    public Integer getUserId() {
        return userId;
    }

    public String getCarSpecificModelsDesc() {
        return carSpecificModelsDesc;
    }

    public void setCarSpecificModelsDesc(String carSpecificModelsDesc) {
        this.carSpecificModelsDesc = carSpecificModelsDesc;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getOwnerCardReportPhone() {
        return ownerCardReportPhone;
    }

    public void setOwnerCardReportPhone(String ownerCardReportPhone) {
        this.ownerCardReportPhone = ownerCardReportPhone;
    }

    public Date getCompulsoryInsuranceDate() {
        return compulsoryInsuranceDate;
    }

    public void setCompulsoryInsuranceDate(Date compulsoryInsuranceDate) {
        this.compulsoryInsuranceDate = compulsoryInsuranceDate;
    }

    public String getOwnerFirstDate() {
        return ownerFirstDate;
    }

    public void setOwnerFirstDate(String ownerFirstDate) {
        this.ownerFirstDate = ownerFirstDate;
    }

    public Date getOwnerInsuranceDate() {
        return ownerInsuranceDate;
    }

    public void setOwnerInsuranceDate(Date ownerInsuranceDate) {
        this.ownerInsuranceDate = ownerInsuranceDate;
    }

    public Integer getCarId() {
        return carId;
    }

    public void setCarId(Integer carId) {
        this.carId = carId;
    }

    public int getVehicleLicenseId() {
        return vehicleLicenseId;
    }

    public void setVehicleLicenseId(int vehicleLicenseId) {
        this.vehicleLicenseId = vehicleLicenseId;
    }

    public Integer getOwnerCardThrough() {
        return ownerCardThrough;
    }

    public void setOwnerCardThrough(Integer ownerCardThrough) {
        this.ownerCardThrough = ownerCardThrough;
    }

    public Integer getOwnerCardDelete() {
        return ownerCardDelete;
    }

    public void setOwnerCardDelete(Integer ownerCardDelete) {
        this.ownerCardDelete = ownerCardDelete;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getCarLicenseNum() {
        return carLicenseNum;
    }

    public void setCarLicenseNum(String carLicenseNum) {
        this.carLicenseNum = carLicenseNum;
    }

    public int getCarSpecificModelsId() {
        return carSpecificModelsId;
    }

    public void setCarSpecificModelsId(int carSpecificModelsId) {
        this.carSpecificModelsId = carSpecificModelsId;
    }

    public String getCarEngineNo() {
        return carEngineNo;
    }

    public void setCarEngineNo(String carEngineNo) {
        this.carEngineNo = carEngineNo;
    }

    public String getVehicleName() {
        return vehicleName;
    }

    public void setVehicleName(String vehicleName) {
        this.vehicleName = vehicleName;
    }

    public String getVehicleLicenseAddress() {
        return vehicleLicenseAddress;
    }

    public void setVehicleLicenseAddress(String vehicleLicenseAddress) {
        this.vehicleLicenseAddress = vehicleLicenseAddress;
    }

    public String getCarIdentificationCode() {
        return carIdentificationCode;
    }

    public void setCarIdentificationCode(String carIdentificationCode) {
        this.carIdentificationCode = carIdentificationCode;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public Date getOwnerFirstDate2() {
        return ownerFirstDate2;
    }

    public void setOwnerFirstDate2(Date ownerFirstDate2) {
        this.ownerFirstDate2 = ownerFirstDate2;
    }

    public MultipartFile[] getFile() {
        return file;
    }

    public void setFile(MultipartFile[] file) {
        this.file = file;
    }

    public Integer getOwnerCardId() {
        return ownerCardId;
    }

    public void setOwnerCardId(Integer ownerCardId) {
        this.ownerCardId = ownerCardId;
    }

    public int getVehicle_license_id() {
        return vehicle_license_id;
    }

    public void setVehicle_license_id(int vehicle_license_id) {
        this.vehicle_license_id = vehicle_license_id;
    }

    public String getUserIdnum() {
        return userIdnum;
    }

    public void setUserIdnum(String userIdnum) {
        this.userIdnum = userIdnum;
    }

    public Integer getCar_id() {
        return car_id;
    }

    public void setCar_id(Integer car_id) {
        this.car_id = car_id;
    }

    @Override
    public String toString() {
        return "OwnerCard{" +
                "ownerCardId=" + ownerCardId +
                ", ownerCardStatus=" + ownerCardStatus +
                ", userId=" + userId +
                ", ownerCardReportPhone='" + ownerCardReportPhone + '\'' +
                ", compulsoryInsuranceDate=" + compulsoryInsuranceDate +
                ", ownerFirstDate='" + ownerFirstDate + '\'' +
                ", ownerInsuranceDate=" + ownerInsuranceDate +
                ", carId=" + carId +
                ", car_id=" + car_id +
                ", vehicleLicenseId=" + vehicleLicenseId +
                ", vehicle_license_id=" + vehicle_license_id +
                ", ownerCardThrough=" + ownerCardThrough +
                ", ownerCardDelete=" + ownerCardDelete +
                ", userName='" + userName + '\'' +
                ", userPhone='" + userPhone + '\'' +
                ", userIdnum='" + userIdnum + '\'' +
                ", carLicenseNum='" + carLicenseNum + '\'' +
                ", carSpecificModelsId=" + carSpecificModelsId +
                ", carSpecificModelsDesc='" + carSpecificModelsDesc + '\'' +
                ", carEngineNo='" + carEngineNo + '\'' +
                ", vehicleName='" + vehicleName + '\'' +
                ", vehicleLicenseAddress='" + vehicleLicenseAddress + '\'' +
                ", carIdentificationCode='" + carIdentificationCode + '\'' +
                ", ownerFirstDate2=" + ownerFirstDate2 +
                ", file=" + Arrays.toString(file) +
                '}';
    }
}